package lpg;

import java.util.BitSet;

class BitSetWithOffset extends BitSet
{
    BitSetWithOffset(int setSize, int offset)
    {
        super(setSize);
        this.offset = offset;
    }

    public boolean get(int k)
    {
        return super.get(k - offset);
    }

    public void set(int k)
    {
        super.set(k - offset);
    }

    public void clear(int k)
    {
        super.clear(k - offset);
    }

    private final int offset;

}
